import request from '@/utils/request'
import { microservices } from '@/utils'
// 下载，导出，私有图片地址
export function getFilePrivate(id) {
  return request({
    url: `${microservices.pmsFs}/filePrivate/${id}`,
    responseType: 'blob'
  })
}

// 根据上传ID解析文件
export function getExcelAnalysis(uploadFileId) {
  return request({
    url: `${microservices.pmsSys}/Excel/analysis/${uploadFileId}`
  })
}